<hgroup class="page-head">                      		
	<h1><span>Đội Ngũ Bác Sỹ</span></h1>
	<h5>Phòng Khám Đa Khoa Tân Mỹ có đội ngũ bác sỹ, chuyên gia uy tín trong và ngoài nước.
	Với đội ngũ bác sỹ uy tính chúng tôi mong muốn đem tới cảm giác ân tâm và thân thiện đến với bệnh nhân.</h5>
</hgroup>	
<div id="container">
<!-- 	<div class="page_featured"> -->
<!-- 		<img src="images/doctors-image.jpg" alt="2 Columns Doctors"> -->
<!-- 	</div> -->
	<article id="post-47" class="post-47 page type-page status-publish hentry clearfix"></article>
	<?php 
	if(!empty($this->Items)):
		$config = new Zendvn_Controller_Config(array('module'=> 'admin', 'fileConfig'=>'doctor.ini'));
		$pictureConfig = $config->getConfig('doctor');
		$xhtml = '<ul class="doctors clearfix">';
		$i = 0;
		$filter = new Zendvn_Filter_Filter();
		foreach ($this->Items as $k => $v){
			$i++;
			$id	= $v['id'];
			$name		= Zendvn_Filter_Filter::filterContent($v['name'], 'filter');
			if(file_exists($pictureConfig['thumbDir1'] . '/' . $v['picture']) &&  !empty($v['picture'])){
				$pictureUrl 	= $pictureConfig['thumbUrl1'] . '/' . $v['picture'];
				$pictureUrlOrginal = $pictureConfig['uploadUrl'] . '/' . $v['picture'];
			}else{
				$pictureUrlOrginal = $pictureUrl = FILE_URL . '/images/no-image.png';
			}
			
			$description = Zendvn_Filter_Filter::filterContent($v['description'], 'filter');
			$description = Zendvn_Filter_Filter::shortString($description, 200);
			
			$linkItem = $this->cmsUrl(array(
										'module' => 'default',
										'controller' => 'index',
										'action' => 'doctor-detail',
										'id' => $id,
										'title' => $filter->filter($name)
											), 'doctor-detail');
			
			$xhtml .= '<li>
								<figure class="doc-img">
								<a href="' . $linkItem . '" title="' . $name . '"><img src="' . $pictureUrl . '"
									alt="' . $name . '"></a>
							</figure>
							<h4>
								<a href="' . $linkItem . '">' . $name . '</a>
							</h4>
							<p>' . $description . '</p><a href="' . $linkItem . '" class="readmore">Xem thêm</a>
						</li>';
			if($i % 4 == 0){
				$xhtml .= '<li class="clearfix"></li>';
				$i = 0;
			}
		}
		$xhtml .= '</ul>';
	?>
	<section class="doc_list two_col clearfix">
		<?php echo $xhtml?>
		<?php 
			$arrParam = array(
					'module' => 'default',
					'controller' => 'index',
					'action' => 'doctors',
					'router' => 'doctors-page'
			);
			echo $this->paginationControl($this->panigator,'Sliding','paning.php',array('arrParam'=>$arrParam));
		?>
	</section>
	<?php endif;?>
</div>